; 标签名高亮
(tag_name) @tag

; 属性名高亮
(attribute (identifier) @attribute)

; 字符串高亮
(quoted_string) @string
(single_quoted_string) @string

; 注释高亮
(comment) @comment

; 资源引用高亮
(resource_reference) @constant.builtin

; 术语引用高亮
(term_reference) @variable

; 标签分隔符
"<" @punctuation.bracket
">" @punctuation.bracket
"</" @punctuation.bracket
"/>" @punctuation.bracket

; 属性分隔符
"=" @operator

; 协议分隔符
"://" @punctuation.delimiter
":" @punctuation.delimiter

; 查询参数分隔符
"?" @punctuation.delimiter
"&" @punctuation.delimiter

; 资源引用前缀
"@" @keyword
"@!" @keyword
"@?" @keyword

; 术语引用前缀
"#" @keyword
